/**
 * @Title: KaoQinController.java
 * @Package com.ruoyi.web.controller.kaoqin
 * @Description: 
 * Copyright: Copyright (c) 2019 www.codepeople.cn Inc. All rights reserved. 
 * Website: www.codepeople.cn
 * 注意：本内容仅限于海南科澜技术信息有限公司内部传阅，禁止外泄以及用于其他的商业目 
 * @Author 刘仁
 * @DateTime 2019年5月20日 下午4:42:12
 * @version V1.0
 */

package com.ruoyi.web.controller.realname.realName;



import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;

/**
 * @ClassName: projectAllController
 * @Description: 
 * @Author 吴挺杰
 * @DateTime 2019年11月11日 下午3:53:43
 */
@Controller
@RequestMapping("/realName/realName")
public class realNameController extends BaseController{

	private String prefix = "realName/realName";	
	@RequiresPermissions("realName:realName:view")
	@GetMapping()
	public String realName()
	{
	    return prefix + "/realName";
	}
	
	@PostMapping("/realNameList")
    @ResponseBody
    public TableDataInfo realNameList()
    {
        startPage();
        Map<String,Object> mapa=new HashMap<String,Object>();
        List<Map<String,Object>> list=new ArrayList<Map<String,Object>>();
        mapa.put("name", "陆敏健");
        mapa.put("code", "320684198411053694");
        mapa.put("num", "18");
        list.add(mapa);
        Map<String,Object> mapb=new HashMap<String,Object>();
        mapb.put("name", "海心伟");
        mapb.put("code", "511113196903302719");
        mapb.put("num", "14");
        list.add(mapb);
        Map<String,Object> mapc=new HashMap<String,Object>();
        mapc.put("name", "方彬");
        mapc.put("code", "342821197112204815");
        mapc.put("num", "12");
        list.add(mapc);
        Map<String,Object> mapd=new HashMap<String,Object>();
        mapd.put("name", "曹金良");
        mapd.put("code", "430602197112251558");
        mapd.put("num", "34");
        list.add(mapc);
        Map<String,Object> mape=new HashMap<String,Object>();
        mape.put("name", "姜书红");
        mape.put("code", "422121197110310819");
        mape.put("num", "30");
        list.add(mapc);
        return getDataTable(list);
    }
}
